# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=linux-timemachine
pkgver=1.3.2
pkgrel=0
pkgdesc="Rsync-based OSX-like time machine for atomic and resumable local and remote backups"
url="https://github.com/cytopia/linux-timemachine"
arch="noarch"
license="MIT"
depends="rsync"
options="!check" # tests depend on docker
source="https://github.com/cytopia/linux-timemachine/archive/refs/tags/v$pkgver/linux-timemachine-$pkgver.tar.gz"

package() {
	install -Dm0755 -oroot -groot timemachine "$pkgdir"/usr/bin/timemachine
}

sha512sums="
ed0d010a20feef169aca3bcad7703afd05334a4047563b70fae0266daf3edc7af259a5838986b8a6ff6a990cf712b832079e2c6170d96b9107e2e6fb1057132f  linux-timemachine-1.3.2.tar.gz
"
